<template>
  <div class="gg_item">
    <div class="gg_index">
      <div class="gg_item_hd">
        <div class="gg_item_title">{{ data.title }}</div>
        <p class="gg-item-subtitle">{{ data.subtitle }}</p>
      </div>
    </div>
    <div class="gg_item_f">
      <img :src="data.f_img" alt="" class="gg-item-f-img" />
    </div>
    <div class="gg_item_r">
      <img :src="data.r_img" alt="" class="gg-item-r-img" />
    </div>
  </div>
</template>

<script>
export default {
  props: {
    data: Object,
  },
};
</script>

<style scoped>
.gg_item {
  display: flex;
  height: 92px;
  height: 180px;
  position: relative;
}
.gg_item_hd {
  position: absolute;

  top: 2.5px;
  left: 0;
  height: 22px;
  line-height: 22px;
  display: flex;
  align-items: center;
}
.gg_item_title {
  font-size: 30px;
  color: #111111;
  padding-left: 6px;
  font-weight: 700;
}
.gg-item-subtitle {
  border-radius: 2px;
  display: inline-block;
  font-family: PingFangSC-Medium;
  padding: 0 3px;
  padding-left: 3px;
  letter-spacing: 0;
  line-height: 30px;
  height: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  color: rgb(255, 255, 255);
  font-size: 11px;
  background-color: rgb(255, 66, 0);
}
.gg_item_f {
  margin-top: 30px;
}
.gg_item_r {
  margin-top: 7px;
  margin-left: 16.5px;
}
</style>